package com.yugao.fintech.antelope.shop.assembly;

import com.yugao.fintech.antelope.shop.model.entity.ShopTableCategory;
import com.yugao.fintech.antelope.shop.model.rqrs.table.TableCategoryResp;
import com.yugao.fintech.antelope.shop.model.rqrs.table.TableCategorySaveReq;
import com.yugao.fintech.antelope.shop.model.rqrs.table.TableCategoryUpdateReq;
import org.mapstruct.Mapper;

/**
 * 桌台分类
 *

 */
@Mapper(componentModel = "spring")
public interface TableCategoryAssembly {
  TableCategoryResp toTableCategoryResp(ShopTableCategory source);
  
  ShopTableCategory toTableCategory(TableCategorySaveReq source);
  
  ShopTableCategory toTableCategory(TableCategoryUpdateReq source);
}
